﻿
using App_Code;

public partial class Game
{
    public MineBoard MineBoard
    {
        get
        {
            if (_MineBoard == null)
                _MineBoard = new MineBoard(XSize, YSize, MineCount, BoardState);

            return _MineBoard;
        }
    }

    private MineBoard _MineBoard; // Cached instance of MineBoard
}


